package gdr.window;

import java.awt.*;

import gdr.dev.*;

/**
 * Background di base, composto da un solo colore.
 * @author Giorgio Vitale
 *
 */
public class BaseBackground {
	public static final Color BACKGROUND_COLOR = Color.green.darker().darker();
	protected SuperGDR9000 gdr;
	
	public BaseBackground(SuperGDR9000 gdr){
		this.gdr = gdr;
	}
	
	public void update(long elapsedTime){	
	}
	
	public void render(Graphics2D g){
		g.setColor(BACKGROUND_COLOR);
		g.fillRect(0, 0, gdr.getWidth(), gdr.getHeight());
	}
}
